package cn.snmp.mutual.org.opennms.protocols.snmp;

import cn.snmp.mutual.org.opennms.protocols.snmp.asn1.AsnDecodingException;
import cn.snmp.mutual.org.opennms.protocols.snmp.asn1.AsnEncoder;
import cn.snmp.mutual.org.opennms.protocols.snmp.asn1.AsnEncodingException;


public interface SnmpSyntax {
    byte typeId();

    int encodeASN(final byte[] p0, final int p1, final AsnEncoder p2) throws AsnEncodingException;

    int decodeASN(final byte[] p0, final int p1, final AsnEncoder p2) throws AsnDecodingException;

    SnmpSyntax duplicate();
}
